<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <form name="cpform" method="post" action="__ACTION__">
    <input type="hidden" name="op" value="save" />
    <input type="hidden" name="group_id" value="{$rs.group_id}" />
    <table class="tb tb2">
        <h3>{$Think.lang.group.edit_user_group} - {$rs.name}</h3>
        <if condition="$rs.type eq 'member'">
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.group_name}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="name" value="{$rs.name}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.group_point_range}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="point_lower" value="{$rs.point_lower}" type="text" class="txt" style="width：108px;margin-right：5px;" /> -- <input name="point_higher" value="{$rs.point_higher}" type="text" class="txt" style="width：108px;margin-left：5px;" /></td>
            <td class="vtop tips2">{$Think.lang.group.group_point_range_explain}</td>
        </tr>
        </if>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_visit}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_visit" radios="allowVisitRadios" checked="allowVisitChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_direct_post}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_direct_post" radios="allowDirectPostRadios" checked="allowDirectPostChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_ask}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_ask" radios="allowAskRadios" checked="allowAskChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_edit_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_edit_question" radios="allowEditQuestionRadios" checked="allowEditQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_del_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_delete_question" radios="allowDeleteQuestionRadios" checked="allowDeleteQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_star_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_star_question" radios="allowStarQuestionRadios" checked="allowStarQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_email_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_email_question" radios="allowEmailQuestionRadios" checked="allowEmailQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_answer}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_answer" radios="allowAnswerRadios" checked="allowAnswerChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_answer_own_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_answer_own_question" radios="allowAnswerOwnQuestionRadios" checked="allowAnswerOwnQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_answer_resolved_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_answer_resolved_question" radios="allowAnswerResolvedQuestionRadios" checked="allowAnswerResolvedQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_multiple_answer}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_multiple_answer" radios="allowMultipleAnswerRadios" checked="allowMultipleAnswerChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_edit_answer}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_edit_answer" radios="allowEditAnswerRadios" checked="allowEditAnswerChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_del_answer}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_delete_answer" radios="allowDeleteAnswerRadios" checked="allowDeleteAnswerChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_comment}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_comment" radios="allowCommentRadios" checked="allowCommentChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_edit_comment}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_edit_comment" radios="allowEditCommentRadios" checked="allowEditCommentChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_del_comment}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_delete_comment" radios="allowDeleteCommentRadios" checked="allowDeleteCommentChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_vote}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_vote" radios="allowVoteRadios" checked="allowVoteChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_rate}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_rate" radios="allowRateRadios" checked="allowRateChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_follow_question}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_follow_question" radios="allowFollowQuestionRadios" checked="allowFollowQuestionChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_follow_user}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_follow_user" radios="allowFollowUserRadios" checked="allowFollowUserChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_report}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_report" radios="allowReportRadios" checked="allowReportChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_search}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_search" radios="allowSearchRadios" checked="allowSearchChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_view_profile}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_view_profile" radios="allowViewProfileRadios" checked="allowViewProfileChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_invisible}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_invisible" radios="allowInvisibleRadios" checked="allowInvisibleChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.allow_create_team}：</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="allow_create_team" radios="allowCreateTeamRadios" checked="allowCreateTeamChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_questions_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_questions_per_day" value="{$rs.max_questions_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_answers_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_answers_per_day" value="{$rs.max_answers_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_comments_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_comments_per_day" value="{$rs.max_comments_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_votes_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_votes_per_day" value="{$rs.max_votes_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_rates_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_rates_per_day" value="{$rs.max_rates_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_stars_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_stars_per_day" value="{$rs.max_stars_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_emails_per_day}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_emails_per_day" value="{$rs.max_emails_per_day}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_user_follow}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_user_follow" value="{$rs.max_user_follow}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.group.max_question_follow}：</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_question_follow" value="{$rs.max_question_follow}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="15"><div class="fixsel"><input class="btn" type="submit" value="{$Think.lang.submit}" /></div></td></tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
